import { CradColor, mark } from "./enums"

export type Deck = Card[]

export interface Card {
    getString():String
}
export interface NormalCard extends Card {
    color:CradColor,
    mark:mark
}
// let normalCard:NormalCard ={
//     color:CradColor.club,
//     mark:mark.eight,
//     getString(){
//         console.log();
//         return this.color+this.mark
//     }
// }
export interface Joker extends Card{
    type:"big"|"small"
}